<script>
	import {
		getOsType,
		getAppVersion
	} from "@/common/util/constants.js"



	export default {
		onLaunch: function() {
			console.log('App Launch')


			console.log('App Launch');

			setTimeout(() => {
				uni.setTabBarBadge({
					index: 1,
					text: '31'
				});
				uni.showTabBarRedDot({
					index: 3
				});
			}, 1000);



		},
		onShow: function() {
			console.log('App Show')

		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	@import url('./static/scss/colorui.css');
	@import 'uview-ui/theme.scss';
	@import 'uview-ui/index.scss';

	/*每个页面公共css */
	@font-face {
		font-family: '思源黑体';
		font-display: swap;
		src: url('//at.alicdn.com/t/webfont_0q82cltaxst.eot');
		/* IE9*/
		src: url('//at.alicdn.com/t/webfont_0q82cltaxst.eot?#iefix') format('embedded-opentype'),
			/* IE6-IE8 */
			url('//at.alicdn.com/t/webfont_0q82cltaxst.woff2') format('woff2'),
			url('//at.alicdn.com/t/webfont_0q82cltaxst.woff') format('woff'),
			/* chrome、firefox */
			url('//at.alicdn.com/t/webfont_0q82cltaxst.ttf') format('truetype'),
			/* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
			url('//at.alicdn.com/t/webfont_0q82cltaxst.svg#思源黑体-粗') format('svg');
		/* iOS 4.1- */
	}

	text,
	view {
		font-family: "思源黑体", Helvetica, "Microsoft YaHei", Arial, sans-serif;
	}




	/*思源黑体,这里是自定义名称，可以起别的名字，比如思源常规都可以*/
</style>